package edu.utexas.ipc;

public interface Connection {
	void send(String message);
	void send(int destID, String message);
	Message receive() throws InterruptedException;
	Message receive(int timeout) throws InterruptedException;
	void close();
	void registerListener(MessageListener listener);
	boolean isConnected(int processID);
}
